import QtQuick 2.0
import QtQuick.Layouts 1.3
import QtQuick.Controls 2.3

Item {

    width: 850
    height: 580

    signal qmlSN_sqlWriteFinish()
    onQmlSN_sqlWriteFinish: {
    }

    signal qmlSN_returnMainPage()
    onQmlSN_returnMainPage: {
        sw.currentIndex = 0
    }
    function changeToPage(var1)
    {
        sw.currentIndex = var1
    }

    SwipeView
    {
        id:sw
        currentIndex: 0
        anchors.fill: parent
        interactive: false
        Component.onCompleted:{
            contentItem.highlightMoveDuration = 0       //将移动时间设为0
        }

        GridLayout {
            id: gridLayout
            columnSpacing: 30
            rowSpacing: 16
            rows: 4
            columns: 3

            EXC_Normal_BtnUncheckStyle {
                nameText: qsTr("模拟量系数")
                Layout.preferredWidth: parent.width*0.25
                Layout.preferredHeight: parent.height*0.13
                nameFontpixelSize: height*0.4
                Layout.leftMargin: parent.width*0.05
                onClicked: sw.currentIndex = 1
            }

            EXC_Normal_BtnUncheckStyle {
                nameText: qsTr("发电机机组参数")
                Layout.preferredWidth: parent.width*0.25
                Layout.preferredHeight: parent.height*0.13
                nameFontpixelSize: height*0.35
                onClicked: sw.currentIndex = 2
            }

            EXC_Normal_BtnUncheckStyle {
                nameText: qsTr("调节器程序版本")
                Layout.preferredWidth: parent.width*0.25
                Layout.preferredHeight: parent.height*0.13
                nameFontpixelSize: height*0.35
                onClicked: sw.currentIndex = 3
            }

            EXC_Normal_BtnUncheckStyle {
                nameText: qsTr("AVR参数")
                Layout.preferredWidth: parent.width*0.25
                Layout.preferredHeight: parent.height*0.13
                nameFontpixelSize: height*0.37
                Layout.leftMargin: parent.width*0.05
                onClicked: sw.currentIndex = 4
            }

            EXC_Normal_BtnUncheckStyle {
                nameText: qsTr("FCR参数")
                Layout.preferredWidth: parent.width*0.25
                Layout.preferredHeight: parent.height*0.13
                nameFontpixelSize: height*0.4
                onClicked: sw.currentIndex = 5
            }

            EXC_Normal_BtnUncheckStyle {
                nameText: qsTr("PSS参数")
                Layout.preferredWidth: parent.width*0.25
                Layout.preferredHeight: parent.height*0.13
                nameFontpixelSize: height*0.4
                onClicked: sw.currentIndex = 6
            }

            EXC_Normal_BtnUncheckStyle {
                nameText: qsTr("欠励限制参数")
                Layout.preferredWidth: parent.width*0.25
                Layout.preferredHeight: parent.height*0.13
                nameFontpixelSize: height*0.4
                Layout.leftMargin: parent.width*0.05
                onClicked: sw.currentIndex = 7
            }

            EXC_Normal_BtnUncheckStyle {
                nameText: qsTr("过励限制参数")
                Layout.preferredWidth: parent.width*0.25
                Layout.preferredHeight: parent.height*0.13
                nameFontpixelSize: height*0.4
                onClicked: sw.currentIndex = 8
            }

            EXC_Normal_BtnUncheckStyle {
                nameText: qsTr("V/F限制参数")
                Layout.preferredWidth: parent.width*0.25
                Layout.preferredHeight: parent.height*0.13
                nameFontpixelSize: height*0.4
                onClicked: sw.currentIndex = 9
            }

            EXC_Normal_BtnUncheckSecret_debuggerStyle {
                nameText: qsTr("励磁电流设置")
                Layout.preferredWidth: parent.width*0.25
                Layout.preferredHeight: parent.height*0.13
                nameFontpixelSize: height*0.35
                Layout.leftMargin: parent.width*0.05
                onClicked: sw.currentIndex = 13
            }

            EXC_Normal_BtnUncheckStyle {
                nameText: qsTr("调差设置")
                Layout.preferredWidth: parent.width*0.25
                Layout.preferredHeight: parent.height*0.13
                nameFontpixelSize: height*0.4
                onClicked: sw.currentIndex = 11
            }

            EXC_Normal_BtnUncheckStyle {
                nameText: qsTr("参数报表")
                Layout.preferredWidth: parent.width*0.25
                Layout.preferredHeight: parent.height*0.13
                nameFontpixelSize: height*0.4
                onClicked: sw.currentIndex = 12
            }
        }

        Page_10FS_01AnalogFactor{id:page1;  }
        //*
        Page_10FS_02unitFactor{id:page2;  }

        Page_10FS_03regulatorVesion{id:page3;  }

        Page_10FS_04avrFactor{id:page4;  }

        Page_10FS_05fcrFactor{id:page5;  }

        Page_10FS_06pssFactor{id:page6;  }

        Page_10FS_07ugFactor{id:page7;  }

        Page_10FS_08overexcite{id:page8;  }

        Page_10FS_09vfLimiter{id:page9;  }

        Page_10FS_10statorCurrentLimiter{id:page10;  }

        Page_10FS_11diffAdjust{id:page11;  }

        Page_10FS_12factorStatements{id:page12;  }

        Page_10FS_13powerCurrent{id:page13;  }
        //*/
    }
}

/*##^##
Designer {
    D{i:0;autoSize:true;height:480;width:640}
}
##^##*/
